package com.shangxia.monomer.business.xml;

import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author zhouya38158
 * @Package com.shangxia.monomer.business.xml
 * @date 2021/8/20 10:29
 */
@Component
public class DataFactory {


    public List<ISendEdbBean> getData(EDBINTERFACE edbinterface) {
        switch (edbinterface) {
            case RPMXHX_TB_PMPAR:
                List<ISendEdbBean> list = new ArrayList();
                list.add(new DemoXmlBean("123", "PSBC", "Aas", 1323, "sa", new Date(), new BigDecimal(100)));
                list.add(new DemoXmlBean("323", "PSBC", "2234", 34, "sa", new Date(), new BigDecimal(32)));
                list.add(new DemoXmlBean("4654", "PSBC", "23", 1321223, "sa", new Date(), new BigDecimal(100.45)));
                return list;
            default:
                return new ArrayList();
        }
    }


}
